package com.accounting.client.remote;

import java.util.List;

import com.accounting.client.remote.obj.ProductCatalog;
import com.accounting.client.remote.transfer.AddProductCatalogRequest;
import com.accounting.client.remote.transfer.UpdateProductCatalogRequest;

import corelib.client.jsonrpc.RemoteJSONService;

public interface ProductCatalogService extends RemoteJSONService {
	
	public boolean RemoveProductCatalog(String passport, int catId);
	public boolean AddProductCatalog(String passport, AddProductCatalogRequest request);
	public boolean UpdateProductCatalog(String passport, UpdateProductCatalogRequest request);
	
	public List<ProductCatalog> GetLeafProductCatalogs(String passport);
	public List<ProductCatalog> GetAllProductCatalogs(String passport);
	public List<ProductCatalog> GetProductCatalogs(String passport, int catId);
}
